<template>
    <view>
        <web-view :src='webSrc'> </web-view>
    </view>
</template>
<script>
export default {
    data(){
        return {
            canyuInfo:'https://mp.weixin.qq.com/s/db2tMx4llgzq_UJBp4lyTg',
            webSrc:'https://mp.weixin.qq.com/s/i8nLNx00L7znZpD9HEoadA'
        }
    },
    onLoad( option ){

        if( option.type == 'info'){
            this.webSrc = this.canyuInfo
        }

    }
}
</script>